package com.bjpowernode.crm.mapper;

import com.bjpowernode.crm.pojo.Page;
import com.bjpowernode.crm.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    User selectUserActPwd(@Param("loginAct") String loginAct, @Param("loginPwd") String loginPwd);

    List<String> getOption();


    Integer getTotalUser(Map map);

    List<User> getData(@Param("index") Integer index, @Param("rowsPerPage") Integer rowsPerPage, @Param("map") Map map);

    void addUser(User user);

    void delUser(String[] ids);
}
